package com.xxxx.server;
import com.xxxx.server.mapper.AdminMapper;
import com.xxxx.server.mapper.DepartmentMapper;
import com.xxxx.server.pojo.Department;
import com.xxxx.server.pojo.RespPageBean;
import com.xxxx.server.service.IDepartmentService;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.ArrayList;
import java.util.List;

@SpringBootTest
@RunWith(SpringRunner.class)
public class test {

    @Autowired
    private DepartmentMapper departmentMapper;
    @Autowired
    private IDepartmentService departmentService;
    @Autowired
    private AdminMapper adminMapper;

    @Test
   public void t1(){
        List<String> list=new ArrayList<>();
        list.add("2");
     new RespPageBean(1,list);
    }

}
